home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#48 (Sep 89)
/
Zoundz Source
/
Zoundz.R
< prev
next >
Wrap
Text File
|
1989-04-28
|
9KB
|
351 lines
*********************************************************
*
* RMaker resource file sources.
* File: Zoundz.R
* History: 4/17/89 Original by Prototyper.
* This file contains the sources for all the resources except for Pictures.
*
*********************************************************
*
*
Zoundz.RSRC
????????
include CursIcons
include AppStuff
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the DIALOG, save changes
*
Type DLOG
*
,3 ;;Resource ID
save changes ;;Dialog title
50 120 188 365 ;;Top Left Bottom Right
Visible NoGoAway ;;Visible GoAway
1 ;;ProcID, dialog def ID
3 ;;Refcon, reference value
3 ;;ID of item list
*
*
*
* This is the item list.
*
Type DITL
*
,3 ;;Resource ID
4 ;;Number of controls in list
Button Enabled ;;Push button
70 30 90 100 ;;Top Left Bottom Right
Yes ;;message
Button Enabled ;;Push button
100 150 120 220 ;;Top Left Bottom Right
Cancel ;;message
Button Enabled ;;Push button
100 30 120 100 ;;Top Left Bottom Right
No ;;message
StaticText ;;Static text
10 30 55 220 ;;Top Left Bottom Right
Save changes to ^0? ;;message
*
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the WINDOW.
*
Type WIND
*
,1 ;;Resource ID
Untitled ;;Window title
42 5 337 506 ;;Top Left Bottom Right
InVisible GoAway ;;Visible GoAway
4 ;;ProcID, Window def ID
1 ;;Refcon, reference value
*
*
*
* This is the CONTROL item list.
*
Type CNTL
*
,26 ;;Resource ID
Play Sound ;;Title for a Button
120 245 160 490 ;;Top Left Bottom Right
Visible ;;Initially visible
0 ;;ProcID (Control definition ID)
26 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
,16 ;;Resource ID
Timbre ;;Title for a Checkbox
255 395 270 485 ;;Top Left Bottom Right
Visible ;;Initially visible
1 ;;ProcID (Control definition ID)
16 ;;RefCon (reference value)
0 1 1 ;;Min Max Value
,15 ;;Resource ID
Duration ;;Title for a Checkbox
235 395 250 485 ;;Top Left Bottom Right
Visible ;;Initially visible
1 ;;ProcID (Control definition ID)
15 ;;RefCon (reference value)
0 1 1 ;;Min Max Value
,14 ;;Resource ID
Amplitude ;;Title for a Checkbox
215 395 230 485 ;;Top Left Bottom Right
Visible ;;Initially visible
1 ;;ProcID (Control definition ID)
14 ;;RefCon (reference value)
0 1 1 ;;Min Max Value
,13 ;;Resource ID
Frequency ;;Title for a Checkbox
195 395 210 485 ;;Top Left Bottom Right
Visible ;;Initially visible
1 ;;ProcID (Control definition ID)
13 ;;RefCon (reference value)
0 1 1 ;;Min Max Value
,20 ;;Resource ID
Timbre ;;Title for a RadioButton
85 260 100 350 ;;Top Left Bottom Right
Visible ;;Initially visible
2 ;;ProcID (Control definition ID)
20 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
,19 ;;Resource ID
Duration ;;Title for a RadioButton
65 260 80 350 ;;Top Left Bottom Right
Visible ;;Initially visible
2 ;;ProcID (Control definition ID)
19 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
,18 ;;Resource ID
Amplitude ;;Title for a RadioButton
45 260 60 350 ;;Top Left Bottom Right
Visible ;;Initially visible
2 ;;ProcID (Control definition ID)
18 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
,17 ;;Resource ID
Frequency ;;Title for a RadioButton
25 260 40 350 ;;Top Left Bottom Right
Visible ;;Initially visible
2 ;;ProcID (Control definition ID)
17 ;;RefCon (reference value)
0 1 1 ;;Min Max Value
,41 ;;Resource ID
DurationScrollbar ;;Title for a Scrollbar
65 360 81 460 ;;Top Left Bottom Right
Visible ;;Initially visible
16 ;;ProcID (Control definition ID)
41 ;;RefCon (reference value)
0 250 0 ;;Min Max Value
,40 ;;Resource ID
AmplitudeScrollbar ;;Title for a Scrollbar
45 360 61 460 ;;Top Left Bottom Right
Visible ;;Initially visible
16 ;;ProcID (Control definition ID)
40 ;;RefCon (reference value)
0 255 0 ;;Min Max Value
,39 ;;Resource ID
FrequencyScrollbar ;;Title for a Scrollbar
25 360 41 460 ;;Top Left Bottom Right
Visible ;;Initially visible
16 ;;ProcID (Control definition ID)
39 ;;RefCon (reference value)
0 128 0 ;;Min Max Value
,38 ;;Resource ID
TimbreScrollbar ;;Title for a Scrollbar
85 360 101 460 ;;Top Left Bottom Right
Visible ;;Initially visible
16 ;;ProcID (Control definition ID)
38 ;;RefCon (reference value)
0 254 0 ;;Min Max Value
,31 ;;Resource ID
EndScrollbar ;;Title for a Scrollbar
255 250 271 370 ;;Top Left Bottom Right
Visible ;;Initially visible
16 ;;ProcID (Control definition ID)
31 ;;RefCon (reference value)
1 100 1 ;;Min Max Value
,27 ;;Resource ID
StartScrollbar ;;Title for a Scrollbar
215 250 231 370 ;;Top Left Bottom Right
Visible ;;Initially visible
16 ;;ProcID (Control definition ID)
27 ;;RefCon (reference value)
1 100 1 ;;Min Max Value
,12 ;;Resource ID
NoteScrollbar ;;Title for a Scrollbar
266 5 282 231 ;;Top Left Bottom Right
Visible ;;Initially visible
16 ;;ProcID (Control definition ID)
12 ;;RefCon (reference value)
1 100 1 ;;Min Max Value
*
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the ALERT, Message
*
Type ALRT
*
,4 ;;Resource ID
75 124 210 385 ;;Top Left Bottom Right
4 ;;ID of item list
CCCC ;;stages of alert in hexadecimal
*
*
*
* This is the item list.
*
Type DITL
*
,4 ;;Resource ID
2 ;;Number of controls in list
StaticText ;;Static text
10 55 80 245 ;;Top Left Bottom Right
^0\0D^1\0D^2\0D^3 ;;message
Button Enabled ;;Push button
90 140 110 200 ;;Top Left Bottom Right
OK ;;message
*
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the DIALOG, About
*
Type DLOG
*
,2 ;;Resource ID
About ;;Dialog title
112 136 210 373 ;;Top Left Bottom Right
Visible NoGoAway ;;Visible GoAway
1 ;;ProcID, dialog def ID
2 ;;Refcon, reference value
2 ;;ID of item list
*
*
*
* This is the item list.
*
Type DITL
*
,2 ;;Resource ID
3 ;;Number of controls in list
Button Enabled ;;Push button
60 75 87 155 ;;Top Left Bottom Right
OK ;;message
StaticText ;;Static text
10 35 25 205 ;;Top Left Bottom Right
Zoundz 1.0 By Kirk Chase ;;message
StaticText ;;Static text
35 10 50 225 ;;Top Left Bottom Right
© 1989 Kirk Chase and MacTutor ;;message
*
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the MENU.
*
Type MENU
*
*************** Standard Menus follow *********************
*
,1001 ;;Resource ID
\14 ;;APPLE menu title
About Zoundz... ;;item title
(- ;;
,1002 ;;Resource ID
File ;;menu title
(New/N ;;item title
(Open.../O ;;item title
(- ;;
Close ;;item title
Save/S ;;item title
Save As... ;;item title
(- ;;
Page Setup... ;;item title
Print... ;;item title
(- ;;
Quit/Q ;;item title
,1003 ;;Resource ID
Edit ;;menu title
Undo/Z ;;item title
(- ;;
Cut/X ;;item title
Copy/C ;;item title
Paste/V ;;item title
,1004
Extend
Frequency
Amplitude
Duration
Timbre